<?php
	require_once( '../includes/common.inc.php' );
    
    $navigation = '';
    $currentImg = '';
    
    if ( isset( $_GET['navigation'] ) && !empty( $_GET['navigation'] ) )
    {
        $navigation = $_GET['navigation'];
    }
    if ( isset( $_GET['current_img'] ) && !empty( $_GET['current_img'] ) )
    {
        $currentImg = $_GET['current_img'];
    }
    
    $slideShow = new SlideShow();
    echo $slideShow->getImageName( $currentImg, $navigation );
?>